<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>模板解析_表达式</title>
</head>
<body>
    <div id="app">
        <p>{{name}}</p>
        <h2 v-text="name">
            <span>内层元素</span>
        </h2>
    </div>
</body>
<script src="./js/mvvm/mvvm.js"></script>
<script src="./js/mvvm/compile.js"></script>
<script src="./js/mvvm/observer.js"></script>
<script src="./js/mvvm/watcher.js"></script>
<script>
    new MVVM({
            el:"#app",
            data:{
                name:"数据绑定"
            }
        })
</script>
</html>
